.Net Framework > v2.0.50727 > System > Enum > ToObject ToObject(Type,Byte)
ToObject(Type,Int16)
ToObject(Type,Int32)
ToObject(Type,Int64)
ToObject(Type,Object)
ToObject(Type,SByte)
ToObject(Type,UInt16)
ToObject(Type,UInt32)
ToObject(Type,UInt64)


ToObject(Type,Byte)

Category
Method
Description
Returns an instance of the specified enumeration type set to the specified 8-bit unsigned integer value.
Type
Object
Character
public, static
Parameters
NameTypeDescription
enumTypeType
valueByte
Attributes
NameValue/Assignment
ComVisibleAttributeTrue
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToObject(Type,Int16)

Category
Method
Description
Returns an instance of the specified enumeration type set to the specified 16-bit signed integer value.
Type
Object
Character
public, static
Parameters
NameTypeDescription
enumTypeType
valueInt16
Attributes
NameValue/Assignment
ComVisibleAttributeTrue
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToObject(Type,Int32)

Category
Method
Description
Returns an instance of the specified enumeration type set to the specified 32-bit signed integer value.
Type
Object
Character
public, static
Parameters
NameTypeDescription
enumTypeType
valueInt32
Attributes
NameValue/Assignment
ComVisibleAttributeTrue
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToObject(Type,Int64)

Category
Method
Description
Returns an instance of the specified enumeration type set to the specified 64-bit signed integer value.
Type
Object
Character
public, static
Parameters
NameTypeDescription
enumTypeType
valueInt64
Attributes
NameValue/Assignment
ComVisibleAttributeTrue
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToObject(Type,Object)

Category
Method
Description
Returns an instance of the specified enumeration set to the specified value.
Type
Object
Character
public, static
Parameters
NameTypeDescription
enumTypeType
valueObject
Attributes
NameValue/Assignment
ComVisibleAttributeTrue
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToObject(Type,SByte)

Category
Method
Description
Returns an instance of the specified enumeration type set to the specified 8-bit signed integer value.
Type
Object
Character
public, static
Parameters
NameTypeDescription
enumTypeType
valueSByte
Attributes
NameValue/Assignment
ComVisibleAttributeTrue
CLSCompliantAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToObject(Type,UInt16)

Category
Method
Description
Returns an instance of the specified enumeration type set to the specified 16-bit unsigned integer value.
Type
Object
Character
public, static
Parameters
NameTypeDescription
enumTypeType
valueUInt16
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
ComVisibleAttributeTrue
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToObject(Type,UInt32)

Category
Method
Description
Returns an instance of the specified enumeration type set to the specified 32-bit unsigned integer value.
Type
Object
Character
public, static
Parameters
NameTypeDescription
enumTypeType
valueUInt32
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
ComVisibleAttributeTrue
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToObject(Type,UInt64)

Category
Method
Description
Returns an instance of the specified enumeration type set to the specified 64-bit unsigned integer value.
Type
Object
Character
public, static
Parameters
NameTypeDescription
enumTypeType
valueUInt64
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
ComVisibleAttributeTrue
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database